package com.nuhu.service;

import com.nuhu.dao.PackageDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PackageService {

    private final PackageDao packageDao;

    @Autowired
    public PackageService(PackageDao packageDao) {
        this.packageDao = packageDao;
    }

    public String getPackageNameById(int packageId) {
        return packageDao.getPackageNameById(packageId);
    }
}